package com.hrsoft.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 部门管理
 * 
 * @author garfield.yue
 * @email yuedefeng101@163.com
 * @date 2020-04-23 22:41:38
 */
@Data
@TableName("sys_department")
public class SysDepartmentEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 父菜单ID，一级菜单为0
	 */
	private Long parentId;

	private String parentName;
	/**
	 * 菜单名称
	 */
	private String name;
	/**
	 * 排序
	 */
	private Integer orderNum;
	/**
	 * 
	 */
	private Integer createUserId;
	/**
	 * 
	 */
	private String createdBy;
	/**
	 * 
	 */
	private Date createdOn;
	/**
	 * 
	 */
	private Integer modifiedUserId;
	/**
	 * 
	 */
	private String modifiedBy;
	/**
	 * 
	 */
	private Date modifiedOn;

}
